<template>
    <div>
        <a-checkbox-group
            v-model="checkGroupValue"
            name="checkboxgroup"
            :options="options"
        />
    </div>
</template>

<script>
export default {
    name: "VACheckboxGroup",
    model: {
        // prop: "value",
        event: "change",
    },
    props: {
        value: Array,
        options: {
            typeL: Array,
            default: () => []
        }
    },
    computed: {
        checkGroupValue: {
            get() {
                return this.value;
            },
            set(val) {
                this.$emit("change", val);
            },
        },
    },
};
</script>

<style></style>
